<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<!--自定义构建 ECharts-->
    <title>自定义构建 ECharts - 简单的饼图</title>
    <!-- 引入 echarts.js -->
    <script src="cjj/echarts.js"></script>
</head>
<body>
<div id="main" style="width: 600px;height:400px;"></div>
<script>
// 绘制图表。
echarts.init(document.getElementById('main')).setOption({
	series: {
		type: 'pie',
		data: [
			{name: 'A',value: 1212},
			{name: 'B',value: 2323},
			{name: 'C',value: 1919}
		]
	}
});
</script>
</body>
</html>